package com.sf.bbs.service;

import java.util.List;

import com.sf.bbs.dao.BBSDao;
import com.sf.bbs.model.BBSModel;

public class BBSService {
	
	private BBSDao bbsDao;
	
	public List getBBSList(BBSModel bbsModel) {
		return bbsDao.getBBSList(bbsModel);
	}

	public int getBBSListCount(BBSModel bbsModel) {
		return bbsDao.getBBSListCount(bbsModel);
	}
	public void setBbsDao(BBSDao bbsDao) {
		this.bbsDao = bbsDao;
	}
	public BBSDao getBbsDao() {
		return bbsDao;
	}
	
}
